import Vue from 'vue'
import VueRouter from 'vue-router'
import MusicList from '@/views/MusicList.vue'
import MusicPlay from '@/views/MusicPlay.vue'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: MusicList
  },
  {
    path: '/play',
    component: MusicPlay
  }
]

const router = new VueRouter({
  routes
})

export default router
